<template>
  <div class="category">
      <h3>{{this.title}}</h3>
      <ul>
        <li v-for="(item, index) in listDate" :key="index">
          {{item}}
        </li>
      </ul>
  </div>
</template>

<script>
export default {
  name: 'category-com',
  props: ['title', 'listDate']
}
</script>

<style>
  .category{
		background-color: skyblue;
		width: 200px;
		height: 300px;
	}
  
  h3 {
    text-align: center;
    background-color: orange;
  }
</style>